
CFLAGS=-std=c99 -Wall -Wextra -O -g
CC=gcc
OUTPUTFILE=spellcheck.exe

../../bin/spellcheck.exe : ../../src/spellcheck.o
	$(CC) ../../src/spellcheck.o -o ../../bin/$(OUTPUTFILE)

../../src/spellcheck.o : ../../src/spellcheck.c
	$(CC) $(CFLAGS) -c -o ../../src/spellcheck.o ../../src/spellcheck.c
